

<template>
<van-config-provider :theme-vars="themeVars">
<div class="sdy-header" ></div>
<SdyCenter></SdyCenter>
<div id="sdy-footer">
    <SdyFooter v-if="!$route.meta.hiddeninfo"></SdyFooter>
</div>

<!-- 名义上是独立在这，实际上还是在其他组件引用的，可以 -->


<!-- 
给notfound加上一个属性，当点击该页面时底部导航消失，
借用到meta方法，true为显示，利用userRoute 从vur-router拿到
加在跟notfound不同时显示的页面并取反即可 判断v-if决定状态 
 -->
</van-config-provider>
    
</template>


<script setup lang="ts">
import { themeVars } from '@/config/theme'
import SdyCenter from './views/SdyCenter/index.vue'
import SdyFooter from './views/SdyFooter/index.vue'


import { useRoute } from 'vue-router'
import type { RouteLocationNormalizedLoaded } from 'vue-router'
const $route:RouteLocationNormalizedLoaded = useRoute()
// console.log($route)

</script>


<style scoped>

</style>

